package com.wf.classRoomTest;

/**
 * @author mpk
 * @since 2024/6/14 10:47:56
 */


class RunnableAA implements Runnable {


    private volatile boolean flag = false;

    public boolean isFlag() {
        return flag;
    }
    @Override
    public void run() {

        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        flag = true;
    }
}
